#pragma once

#include "RenderObject.h"
#include "VONode.h"

class VoxelOctree
	:public RenderObject
{
private:
	double size;
	VONode * start;
public:
	VoxelOctree(Vector3d pos,double size);
	~VoxelOctree(void);
	TraceResult collision(const Ray &ray);
	void set(int x,int y,int z);
};

